package com.ruoyi.help.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 帮扶预约对象 bbl_help_appointment
 *
 * @author ruoyi
 * @date 2023-05-19
 */
public class Appointment extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 预约ID
     */
    private String id;

    /**
     * 学生姓名
     */
    @Excel(name = "学生姓名")
    private String stuName;

    /**
     * 帮扶老师
     */
    @Excel(name = "帮扶老师")
    private String teacherName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date creationTime;

    /**
     * 预约时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date appointmentTime;

    /**
     * 问题类型
     */
    @Excel(name = "问题类型")
    private Long issueType;

    /**
     * 帮扶状态
     */
    @Excel(name = "帮扶状态")
    private Long helpType;

    /**
     * 完成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date okTime;

    /**
     * 老师备注
     */
    @Excel(name = "老师备注")
    private String teacherNote;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuName() {
        return stuName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setAppointmentTime(Date appointmentTime) {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() {
        return appointmentTime;
    }

    public void setIssueType(Long issueType) {
        this.issueType = issueType;
    }

    public Long getIssueType() {
        return issueType;
    }

    public void setHelpType(Long helpType) {
        this.helpType = helpType;
    }

    public Long getHelpType() {
        return helpType;
    }

    public void setOkTime(Date okTime) {
        this.okTime = okTime;
    }

    public Date getOkTime() {
        return okTime;
    }

    public void setTeacherNote(String teacherNote) {
        this.teacherNote = teacherNote;
    }

    public String getTeacherNote() {
        return teacherNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("stuName", getStuName())
                .append("teacherName", getTeacherName())
                .append("creationTime", getCreationTime())
                .append("appointmentTime", getAppointmentTime())
                .append("issueType", getIssueType())
                .append("helpType", getHelpType())
                .append("okTime", getOkTime())
                .append("teacherNote", getTeacherNote())
                .toString();
    }
}
